import { observable } from 'mobx';

class RectModel {
  @observable width = 100;
  @observable height = 50;
  // 方便调试，随机摆放位置
  @observable x = 200 * Math.random();
  @observable y = 300 * Math.random();
  @observable fill = 'yellow';
  type = 'rect';
}

export default RectModel;
